package structural.composite;

public class Shape implements IComponent {
    @Override
    public void draw() {
        // Subclasses can override default implementation
        System.out.println("Drawing a shape");
    }

    @Override
    public void move() {
        System.out.println("Moving a shape");
    }
}
